package top.iflyoung.cim.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import top.iflyoung.cim.biz.entity.P2PChatMessage;

import java.util.List;

/**
 * @author liguiyang
 * @description 点对点聊天
 * @sine 1.8
 * @date 2021/9/222:34
 **/
public interface P2PChatMessageMapper extends BaseMapper<P2PChatMessage> {
    List<P2PChatMessage> queryAllMessages(@Param("senderId") Long senderId, @Param("receiverId") Long receiverId);
}
